SPOOL $HOME/crst_fm/MISC/log/test_result.txt

DEFINE NGO_CODE = '&1'
DEFINE BG_CODE= '&2'
DEFINE NGO_SOB_SHORT_CODE= '&3'

@$HOME/crst_fm/AP/recon/CAPAPREC_ACC_EVENT.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_AE_HEADERS.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_AE_LINES.sql  &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_AP_BANK_AC.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_AP_BANK_AC_USE.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_AP_OPT.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_CHECKRUN_CONF.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_CHECKS.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_ENCUM_LINE.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_FIN_OPT.sql &NGO_SOB_SHORT_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_INV_B.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_INV_D.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_INV_I.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_INV_PAYMENT.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_INV_SELECT_CRT.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_PAY_DOC.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_PAY_FORMAT.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_PAY_HISTORY.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_PAY_SCHEDULE.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_SELECT_INV.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_SELECT_INV_CHECKS.sql &NGO_CODE
@$HOME/crst_fm/AP/recon/CAPAPREC_TOLERANCE.sql &NGO_CODE

SPOOL OFF

QUIT